package cn.lutu.protocol.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;

@Data
public class RouteDTO {
    @NotNull(message = "请提交标签ID")
    @Range(min = 1, message = "请提交正确的标签ID值")
    @ApiModelProperty(value = "标签ID", required = true, example = "1")
    private Long id;
    private String name;
    private String details;
    private Long date;
    private int days;
    private String keywords;
    private double price;
    private String imgUrl;
    private String type;
    private String notice;
    private String brief;

}
